﻿<xsl:stylesheet version="1.0"
	xmlns:date="http://exslt.org/dates-and-times"
	xmlns:set="http://exslt.org/sets"  xmlns:ebe="http://cks/ebemethods"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="date set ebe">

	<xsl:param name="IsBlogOwner" />
	<xsl:param name="RelativeUrl" />

	<xsl:output omit-xml-declaration="yes" />

	<xsl:template match="/">
		<xsl:apply-templates select="rows/row[position() &lt; 6]" />
	</xsl:template>

	<xsl:template match="row">
		<div style="padding-bottom:8px;padding-top:8px;border-top:1px solid black">
			<xsl:if test="position() = 1">
				<xsl:attribute name="style">padding-bottom:8px;padding-top:8px;</xsl:attribute>
			</xsl:if>
			<a title="{Title}" href="{ebe:createPostUrl(PublishedDate, BlogTitleForUrl)}">
				<xsl:value-of select="Title"/>
			</a>
		</div>
	</xsl:template>

</xsl:stylesheet>
